﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DoNet.SFExpress.Framework.SCS_PUSH
{
    #region 冷运API

    #region 冷运运输类

    #region 冷运推送运单费用明细
    /// <summary>
    /// 冷运推送运单费用明细（冷运API-冷运运输类） 业务数据请求报文
    /// </summary>
    public class MsgDataRequestTransportFeeDetails
    {
        /// <summary>
        /// 运单号
        /// 是
        /// 字符(64)
        /// </summary>
        public string waybillNo { set; get; }
        /// <summary>
        /// 总费用金额（单位元）
        /// 是
        /// 数字	
        /// </summary>
        public decimal totalAmount { set; get; }
        /// <summary>
        /// 数据版本时间 格式（2021-05-14 14:44:18）
        /// 是
        /// 时间	
        /// </summary>
        public DateTime versionTime { set; get; }
        /// <summary>
        /// 费用明细
        /// </summary>
        public List<FeeDetail> feeDetails { set; get; }
        /*
        1.功能描述：
        ​ 顺丰主动将订单费用明细推送客户，包含“运费、增值服务费用”；

        2.接口定义
        名称	值
        接口服务代码	SCS_PUSH_TRANSPORT_FEE_DETAILS
        批量交易	不支持
        接口类型	推送（SF->客户）
        报文类型	JSON
        
        3.报文(JSON)示例
        请求示例

        {
          "totalAmount": 7748,
          "feeDetails": [
            {
              "amount": 5,
              "feeName": "保费",
              "confirmTime": "2021-05-14 14:44:18",
              "serviceCode": "VA0021"
            },
            {
              "amount": 20,
              "feeName": "动检证",
              "confirmTime": "2021-05-14 14:44:18",
              "serviceCode": "VA0035"
            },
            {
              "amount": 100,
              "feeName": "提货服务",
              "confirmTime": "2021-05-14 14:44:18",
              "serviceCode": "VA0058"
            },
            {
              "amount": 1984,
              "feeName": "配送服务",
              "confirmTime": "2021-05-14 14:44:18",
              "serviceCode": "VA0059"
            }
          ],
          "versionTime": "2021-05-14 14:44:18",
          "waybillNo": "SF700201271693151"
        }
        */
    }
    /// <summary>
    /// 冷运推送运单费用明细（冷运API-冷运运输类） 业务数据返回报文
    /// </summary>
    public class MsgDataResponseTransportFeeDetails
    {
        /// <summary>
        /// 结果 true成功，false异常 为空都会重推送
        /// </summary>
        public bool success { set; get; }
        /// <summary>
        /// 错误原因
        /// </summary>
        public string msg { set; get; }
        /*
        2.2返回参数
        参数名	类型	说明	是否必传
        success	Boolean	结果 true成功，false异常 为空都会重推送	N
        msg	String	错误原因	N

        成功示例

        {
          "msg": "接收成功",
          "success": false
        }
        失败示例（系统会重推）

        {
          "msg": "失败",
          "success": true
        } 
        */
    }

    #endregion 冷运推送运单费用明细

    #region 冷运推送订单信息接口

    /// <summary>
    /// 冷运推送订单信息接口（冷运API-冷运运输类） 业务数据请求报文
    /// </summary>
    public class OrderInfoRequest : SFRequest
    {
        /// <summary>
        /// 
        /// </summary>
        public string ak { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public long nonce { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public string fromCode { set; get; }
        /// <summary>
        /// 
        /// </summary>

        public MsgDataRequestOrderInfo msgData { set; get; }
    }
    /// <summary>
    /// 冷运推送订单信息接口（冷运API-冷运运输类） 业务数据请求报文
    /// </summary>
    public class MsgDataRequestOrderInfo
    {
        /// <summary>
        /// 
        /// </summary>
        public OrderInfo order { set; get; }
        /// <summary>
        /// 子单列表信息
        /// </summary>
        public List<ChildWaybill> childWaybillList { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public List<OrderService> orderServiceList { set; get; }
        /// <summary>
        /// 新的
        /// </summary>
        public List<OrderGoods> orderGoodsList { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public OrderReturn orderReturn { set; get; }
    }
    /// <summary>
    /// 冷运推送订单信息接口（冷运API-冷运运输类） 业务数据返回报文
    /// </summary>
    public class MsgDataResponseOrderInfo
    {
        /// <summary>
        /// 结果 true成功，false异常 为空都会重推送
        /// </summary>
        public bool success { set; get; }
        /// <summary>
        /// 错误原因
        /// </summary>
        public string msg { set; get; }
    }

    #endregion 冷运推送订单信息接口

    #region 冷运推送订单状态接口

    /// <summary>
    /// 冷运推送订单状态接口（冷运API-冷运运输类） 业务数据请求报文
    /// </summary>
    public class MsgDataRequestOrderState
    {
        /// <summary>
        /// ERP单号
        /// 是
        /// 字符(32)
        /// </summary>
        public string erpOrder { set; get; }
        /// <summary>
        /// SF生成运单号
        /// 是
        /// 字符(64)
        /// </summary>
        public string waybillNo { set; get; }
        /// <summary>
        /// SF生成签运单号
        /// 否
        /// 字符(64)
        /// </summary>
        public string returnWaybillNo { set; get; }
        /// <summary>
        /// 订单状态(已审核/已收件/已签收)
        /// 是
        /// 字符(32)
        /// </summary>
        public string orderStatus { set; get; }
        /// <summary>
        /// 审核时间/收件时间/签收时间
        /// 是
        /// 字符(64)
        /// </summary>
        public string time { set; get; }
    }
    /// <summary>
    /// 冷运推送订单状态接口（冷运API-冷运运输类） 业务数据返回报文
    /// </summary>
    public class MsgDataResponseOrderState
    {
        /// <summary>
        /// 结果 true成功，false异常 为空都会重推送
        /// </summary>
        public bool success { set; get; }
        /// <summary>
        /// 错误原因
        /// </summary>
        public string msg { set; get; }
    }

    #endregion 冷运推送订单状态接口

    #region 冷运运输流向校验接口

    /// <summary>
    /// 冷运运输流向校验接口（冷运API-冷运运输类） 业务数据请求报文
    /// </summary>
    public class MsgDataRequestCheckTransportFlow
    {
        /// <summary>
        /// 产品代码：如SE0030
        /// 是
        /// 字符
        /// </summary>
        public string productCode { set; get; }
        /// <summary>
        /// 始发省：如广东省
        /// 是
        /// 字符
        /// </summary>
        public string senderProvinceName { set; get; }
        /// <summary>
        /// 始发城市：如深圳市
        /// 是
        /// 字符
        /// </summary>
        public string senderCityName { set; get; }
        /// <summary>
        /// 始发区县：如南山区 (注意某些没有区的城市,这里需要填XX镇,比如广东省东莞市的常平镇)
        /// 是
        /// 字符
        /// </summary>
        public string senderCountyName { set; get; }
        /// <summary>
        /// 始发城市编码：如755
        /// 是
        /// 字符
        /// </summary>
        public string senderCityAreaNumber { set; get; }
        /// <summary>
        /// 始发地详细地址：如深圳清湖食品配送部
        /// 是
        /// 字符
        /// </summary>
        public string senderAddress { set; get; }
        /// <summary>
        /// 目的省：如北京
        /// 是
        /// 字符
        /// </summary>
        public string receiverProvinceName { set; get; }
        /// <summary>
        /// 目的城市：如北京市
        /// 是
        /// 字符
        /// </summary>
        public string receiverCityName { set; get; }
        /// <summary>
        /// 目的区县：如顺义区 (注意某些没有区的城市,这里需要填XX镇,比如广东省东莞市的常平镇)
        /// 是
        /// 字符
        /// </summary>
        public string receiverCountyName { set; get; }
        /// <summary>
        /// 目的城市编码：如010
        /// 是
        /// 字符
        /// </summary>
        public string receiverCityAreaNumber { set; get; }
        /// <summary>
        /// 目的地详细地址：如北京大兴食品中 
        /// 是
        /// 字符
        /// </summary>
        public string receiverAddress { set; get; }
    }
    /// <summary>
    /// 冷运运输流向校验接口（冷运API-冷运运输类） 业务数据返回报文
    /// </summary>
    public class ApiResultDataResponseCheckTransportFlow
    {
        /// <summary>
        /// 接口状态 0 成功 其它异常
        /// 字符(32)
        /// </summary>
        public string code { set; get; }
        /// <summary>
        /// 返回信息展示
        /// 字符(500)
        /// </summary>
        public string message { set; get; }
        /// <summary>
        /// true 成功 false 异常
        /// boolean
        /// </summary>
        public bool success { set; get; }
        /// <summary>
        /// model
        /// 对象	
        /// </summary>
        public CheckTransportFlowData data { set; get; }
        /*
        2.3公共返回参数
        参数名	类型	说明	是否必传
        apiResultCode	String(10)	API平台结果代码，详见附录8	Y
        apiErrorMsg	String(200)	API平台异常信息	N
        apiResponseID	String(40)	API响应唯一号UUID	Y
        apiResultData	String	业务处理详细结果（JSON对象字符串格式：JSON.toJSONString(ResponseModel)	N
        2.4业务返回参数<apiResultData>
        参数名	类型	说明
        code	字符(32)	
        message	字符(500)	
        data	对象	model
        success	boolean	true 成功 false 异常
        model对象

        参数名	类型	说明
        senderInfo	DTO	寄件服务网点信息
        serviceType	字符	服务类型
        netpoint	DTO	网点信息
        mdneUnitName	字符	网点名称
        mdneDetailedAddress	字符	网点地址
        mdneContactPhone	字符	联系电话
        mdneOuterBusinessStarttime	字符	对外营业时间开始
        mdneOuterBusinessEndtime	字符	对外营业时间结束
        receiverInfo	DTO	与senderInfo字段属性一致
        temperatureLevel	DTO	可选的温层信息
        ebcdCode	字符	温控代码
        ebcdNameCn	字符	温控名称
        ebcdSquenceNo	字符	序号
        ebcdTemperatureType	字符	温控类型
        ebcdProductCode	字符	产品代码
        返回示例

        成功示例

        {
          "code": "0",
          "data": {
            "senderInfo": {
              "serviceType": "DISPATCH",
              "netpoint": {
                "mdneUnitName": "深圳清湖食品配送部",
                "mdneDetailedAddress": "广东省深圳市龙华新区深圳市宝安区龙华新区清湖社区清祥路23号清湖冷链物流园561",
                "mdneContactPhone": "123456435",
                "mdneOuterBusinessStarttime": "09:00",
                "mdneOuterBusinessEndtime": "21:50"
              }
            },
            "receiverInfo": {
              "serviceType": "ONLY_PICK_UP",
              "netpoint": {
                "mdneUnitName": "北京大兴食品中转场",
                "mdneDetailedAddress": "北京市大兴区长子营开发区企融路1号",
                "mdneContactPhone": "01025708989",
                "mdneOuterBusinessStarttime": "00:00",
                "mdneOuterBusinessEndtime": "23:30"
              }
            },
            "temperatureLevel": [
              {
                "ebcdCode": "2",
                "ebcdNameCn": "0至10",
                "ebcdTemperatureType": "冷藏",
                "ebcdSquenceNo": 1,
                "ebcdProductCode": "SE0030"
              },
              {
                "ebcdCode": "30",
                "ebcdNameCn": "冷冻",
                "ebcdTemperatureType": "冷冻",
                "ebcdSquenceNo": 4,
                "ebcdProductCode": "SE0030"
              },
              {
                "ebcdCode": "31",
                "ebcdNameCn": "常温（环境温度）",
                "ebcdTemperatureType": "常温",
                "ebcdSquenceNo": 3,
                "ebcdProductCode": "SE0030"
              }
            ]
          },
          "success": true,
          "message": "success"
        }
        错误示例

        {
          "code": "133",
          "data": "",
          "message": "该流向不存在",
          "success": false
        } 
        */
    }


    #endregion 冷运运输流向校验接口

    #region 冷运运输预估费用接口

    /// <summary>
    /// 冷运运输预估费用接口（冷运API-冷运运输类） 业务数据请求报文
    /// </summary>
    public class MsgDataRequestCalcTransportFee
    {
        /// <summary>
        /// ERP单号(客户订单号)不可以重复，取消再下发，重新生成一个新的ERP单号
        /// 是
        /// 字符(32)
        /// </summary>
        public string erpOrder { set; get; }
        /// <summary>
        /// 产品类型代码 详细请见附录3 传承运商产品编码（例如：SE0022），多个产品以","分隔
        /// 是
        /// 字符(32)
        /// </summary>
        public string productCode { set; get; }
        /// <summary>
        /// 客户下单时间 格式为 yyyy-MM-dd HH:mm:ss
        /// 是
        /// 字符(20)
        /// </summary>
        public string orderTime { set; get; }
        /// <summary>
        /// 提货省份名称 要求精准(广东省)
        /// 是
        /// 字符(32)
        /// </summary>
        public string shipperProvinceName { set; get; }
        /// <summary>
        /// 提货城市名称 要求精准(深圳市)
        /// 是
        /// 字符(32)
        /// </summary>
        public string shipperCityName { set; get; }
        /// <summary>
        /// 提货县区名称 要求精准(南山区)
        /// 是
        /// 字符(32)
        /// </summary>
        public string shipperDistrictName { set; get; }
        /// <summary>
        /// 提货地点名称 不用包含省市区(海天一路软件产业基地)
        /// 是
        /// 字符(200)
        /// </summary>
        public string shipperLocationName { set; get; }
        /// <summary>
        /// 送货省份名称 要求精准(广东省)
        /// 是
        /// 字符(32)
        /// </summary>
        public string consigneeProvinceName { set; get; }
        /// <summary>
        /// 送达城市名称 要求精准(深圳市)
        /// 是
        /// 字符(32)
        /// </summary>
        public string consigneeCityName { set; get; }
        /// <summary>
        /// 送达县区名称 要求精准(南山区)
        /// 是
        /// 字符(32)
        /// </summary>
        public string consigneeDistrictName { set; get; }
        /// <summary>
        /// 送达地点名称 不用包含省市区(海天一路软件产业基地)
        /// 是
        /// 字符(200)
        /// </summary>
        public string consigneeLocationName { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public List<OrderItem> orderItems { set; get; }
        /// <summary>
        /// 增值服务明细
        /// 否
        /// 列表
        /// </summary>
        public List<OrderServiceInfo> orderServices { set; get; }
        /*
        3.报文(JSON)示例
        请求示例<msgData>

        {
                "erpOrder": "1233",
                "productCode": "SE0030,SE003001",
                "orderTime": "2021-05-01 12:12:12",
                "shipperProvinceName": "上海",
                "shipperCityName": "上海市",
                "shipperDistrictName": "黄浦区",
                "shipperLocationName": "萧山区党柯路96-1号",
                "consigneeProvinceName": "广东省",
                "consigneeCityName": "深圳市",
                "consigneeDistrictName": "南山区",
                "consigneeLocationName": "软件产业基地",
                "orderItems": [{
                    "grossWeight": "12",
                    "volume": "12"
                }],
                "orderServices": [{
                        "serviceValue": "签单返还",
                        "serviceCode": "VA0003",
                        "userDef1": "signature,stamp,identityCard,idNo,other",
                        "userDef2": "测试"
                    },
                    {
                        "serviceValue": "3000",
                        "serviceCode": "VA0021"
                    },
                    {
                        "serviceCode": "VA0058",
                        "serviceName": "提货服务"
                    },
                    {
                        "serviceCode": "VA0059",
                        "serviceName": "配送服务"
                    }
                ]
    
        }
        */
    }
    /// <summary>
    /// 冷运运输预估费用接口（冷运API-冷运运输类） 业务数据返回报文
    /// </summary>
    public class ApiResultDataResponseCalcTransportFee
    {
        /// <summary>
        /// 接口状态 0 成功 其它异常
        /// 字符(32)
        /// </summary>
        public string code { set; get; }
        /// <summary>
        /// 返回信息展示
        /// 字符(500)
        /// </summary>
        public string message { set; get; }
        /// <summary>
        /// true 成功 false 异常
        /// boolean
        /// </summary>
        public bool success { set; get; }
        /// <summary>
        /// model
        /// Map<String,Model>	
        /// </summary>
        public CalcTransportFeeData data { set; get; }
        /*
        2.3公共返回参数
        参数名	类型	说明	是否必传
        apiResultCode	String(10)	API平台结果代码，详见附录8	Y
        apiErrorMsg	String(200)	API平台异常信息	N
        apiResponseID	String(40)	API响应唯一号UUID	Y
        apiResultData	String	业务处理详细结果（JSON对象字符串格式：JSON.toJSONString(ResponseModel)	N
        2.4业务返回参数<apiResultData>
        参数名	类型	说明
        code	字符(32)	接口状态 0 成功 其它异常
        message	字符(500)	返回信息展示
        data	Map<String,Model>	model
        success	boolean	true 成功 false 异常
        Map<String,Model>集合:

        参数名	类型	说明
        产品类型（SE0030或SE003001）	字符(32)	产品编码
        结果		
        参数名	类型	说明
        code	字符(32)	接口状态 200 成功 其它异常
        message	字符(500)	接口状态 200 成功 其它异常
        model	对象	详细请见model
        参数名	类型	说明
        feeName	字符(64)	费用名称
        serviceCode	字符(32)	增值服务代码
        totalAmount	数字	金额
        返回示例

        成功示例

        {
          "apiResultCode": "A1000",
          "apiErrorMsg": "",
          "apiResponseID": "161553468411dd",
          "apiResultData":{
            "code": "0",
            "data": {
                "SE003001": {
                    "code": "200",
                    "message": "success",
                    "model": [{
                        "totalAmount": 5.00,
                        "feeName": "保费",
                        "serviceCode": "VA0021"
                    }, {
                        "totalAmount": 20.00,
                        "feeName": "动检证",
                        "serviceCode": "VA0035"
                    }, {
                        "totalAmount": 100.00,
                        "feeName": "提货服务",
                        "serviceCode": "VA0058"
                    }, {
                        "totalAmount": 1984.00,
                        "feeName": "配送服务",
                        "serviceCode": "VA0059"
                    }
                             ]
                },
                "SE0030": {
                    "code": "200",
                    "message": "success",
                    "model": [{
                        "totalAmount": 5.00,
                        "feeName": "保费",
                        "serviceCode": "VA0021"
                    }, {
                        "totalAmount": 20.00,
                        "feeName": "动检证",
                        "serviceCode": "VA0035"
                    }, {
                        "totalAmount": 100.00,
                        "feeName": "提货服务",
                        "serviceCode": "VA0058"
                    }, {
                        "totalAmount": 1984.00,
                        "feeName": "配送服务",
                        "serviceCode": "VA0059"
                    }
                             ]
                }
            },
            "message": "success",
            "success": true
            } 
    
        }


        错误示例

        {
          "apiResultCode": "A1099",
          "apiErrorMsg": "系统异常",
          "apiResponseID": "161553468411dd",
          "apiResultData":""
        } 
        */
    }

    #endregion 冷运运输预估费用接口

    #region 冷运运输预估时效接口

    /// <summary>
    /// 冷运运输预估时效接口（冷运API-冷运运输类） 业务数据请求报文
    /// </summary>
    public class MsgDataRequestEstimateDeliverTm
    {
        /// <summary>
        /// 寄件时间 格式为 yyyy-MM-dd HH:mm:ss
        /// 是
        /// 字符
        /// </summary>
        public string consignTime { set; get; }
        /// <summary>
        /// 目的城市编码：如755
        /// 是
        /// 字符
        /// </summary>
        public string receiverCityAreaNumber { set; get; }
        /// <summary>
        /// 是否自取件，1是 0否
        /// 是
        /// 数值
        /// </summary>
        public int oneselfPickupFlg { set; get; }
        /// <summary>
        /// 产品代码，如多个使用英文逗号分隔
        /// 是
        /// 字符
        /// </summary>
        public string productCode { set; get; }
        /// <summary>
        /// 是否自寄件，1是0否
        /// 是
        /// 数值
        /// </summary>
        public int selfSendFlg { set; get; }
        /// <summary>
        /// 始发城市编码：如020
        /// 是
        /// 字符
        /// </summary>
        public string senderCityAreaNumber { set; get; }
        /*	
        3.报文(JSON)示例
        请求示例

        {
              "consignTime": "2021-05-14 08:03:10",
              "oneselfPickupFlg": 0,
              "productCode": "SE0030,SE003001",
              "receiverCityAreaNumber": "010",
              "selfSendFlg": 0,
              "senderCityAreaNumber": "755"
        }
        */
    }
    /// <summary>
    /// 冷运运输预估时效接口（冷运API-冷运运输类） 业务数据返回报文
    /// </summary>
    public class ApiResultDataResponseEstimateDeliverTm
    {
        /// <summary>
        /// 接口状态 0 成功 其它异常
        /// 字符(32)
        /// </summary>
        public string code { set; get; }
        /// <summary>
        /// 返回信息展示
        /// 字符(500)
        /// </summary>
        public string message { set; get; }
        /// <summary>
        /// true 成功 false 异常
        /// boolean
        /// </summary>
        public bool success { set; get; }
        /// <summary>
        /// model
        /// List	
        /// </summary>
        public List<EstimateDeliverTmData> data { set; get; }
        /*	
        2.3公共返回参数
        参数名	类型	说明	是否必传
        apiResultCode	String(10)	API平台结果代码，详见附录8	Y
        apiErrorMsg	String(200)	API平台异常信息	N
        apiResponseID	String(40)	API响应唯一号UUID	Y
        apiResultData	String	业务处理详细结果（JSON对象字符串格式：JSON.toJSONString(ResponseModel)	N
        2.4业务返回参数<apiResultData>
        参数名	类型	说明
        code	字符(32)	接口状态 0 成功 其它异常
        message	字符(500)	返回信息展示
        data	List	model
        success	boolean	true 成功 false 异常
        model对象

        参数名	类型	说明
        productCode	字符	产品代码
        code	字符(32)	接口状态 200 成功 其它异常
        message	字符(500)	错误信息展示
        effectiveInfo.arriveTime	字符	预计到达时间
        effectiveInfo.delayRemark	字符	加时备注
        effectiveInfo.planDescription	字符	班次描述
        effectiveInfo.delayDay	字符	加时天数
        effectiveInfo.effectiveDay	字符	承诺天数
        返回示例

        成功示例

        {
           "apiResultCode": "A1000",
           "apiErrorMsg": "",
           "apiResponseID": "161553468411dd",
           "apiResultData": {
                "code": "0",
                "data": [
                    {
                      "productCode": "SE0030",
                       "code": "200",
                      "message": "success",
                      "effectiveInfo": {
                        "arriveTime": "2021-05-22 20:00:00",
                        "delayRemark": "sameCity111",
                        "planDescription": "每日发运",
                        "delayDay": "6",
                        "effectiveDay": "9"
                      }
                    },
                    {
                      "productCode": "SE003001",
                       "code": "200",
                      "message": "success",
                      "effectiveInfo": {
                        "arriveTime": "2021-05-23 18:00:00",
                        "delayRemark": "sameCity111",
                        "planDescription": "每日发运",
                        "delayDay": "7",
                        "effectiveDay": "10"
                      }
                    }
                  ],
            "message": "success",
            "success": true
            } 
        }
        错误示例

        {
          "apiResultCode": "A1000",,
          "apiErrorMsg": "",
          "apiResponseID": "161553468411dd",
          "apiResultData": {
            "code": "0",
            "data": [
                {
                  "productCode": "SE0030",
                     "code": "113",
                  "message": "无有效的时效配置"
                },
                {
                  "productCode": "SE003001",
                     "code": "113",
                  "message": "无有效的时效配置"
                }
             ],
            "message": "success",
            "success": true
            }
        } 
        */
    }

    #endregion 冷运运输预估时效接口

    #region 冷运运输订单取消接口

    /// <summary>
    /// 冷运运输订单取消接口（冷运API-冷运运输类） 业务数据请求报文
    /// </summary>
    public class MsgDataRequestCancelOrder
    {
        /// <summary>
        /// 运输订单号
        /// 是
        /// 字符(64)	
        /// </summary>
        public string erpOrder { set; get; }
        /// <summary>
        /// SF生成订单号
        /// 否
        /// 字符(64)
        /// </summary>
        public string sfOrderNo { set; get; }
        /*	
        3.报文(JSON)示例
        请求示例

        {
                "erpOrder": "客户erp单号",
                "sfOrderNo": "SF生成订单号",
                "sourceCode": "SFTEST"
        } 
        */
    }
    /// <summary>
    /// 冷运运输订单取消接口（冷运API-冷运运输类） 业务数据返回报文
    /// </summary>
    public class ApiResultDataResponseCancelOrder
    {
        /// <summary>
        /// 接口状态 0 成功 其它异常
        /// 字符(32)
        /// </summary>
        public string code { set; get; }
        /// <summary>
        /// 返回信息展示
        /// 字符(500)
        /// </summary>
        public string message { set; get; }
        /// <summary>
        /// true 成功 false 异常
        /// boolean
        /// </summary>
        public bool success { set; get; }
        /// <summary>
        /// 字符
        /// </summary>
        public string data { set; get; }
        /*	
        2.3公共返回参数
        参数名	类型	说明	是否必传
        apiResultCode	String(10)	API平台结果代码，详见附录8	Y
        apiErrorMsg	String(200)	API平台异常信息	N
        apiResponseID	String(40)	API响应唯一号UUID	Y
        apiResultData	String	业务处理详细结果	N
        2.4业务返回参数<apiResultData>
        参数名	类型	说明
        code	字符(32)	接口状态 0 成功 其它异常
        message	字符(500)	返回信息展示
        data	字符	
        success	boolean	true 成功 false 异常
        返回示例

        {
           "apiResultCode":"A1000",
           "apiErrorMsg": "",
           "apiResponseID": "161553468411dd",
           "apiResultData":{
                "code": "0",
                "data": "",
                "message": "success",
                "success": true
            }
        }
        {
	        "apiResultCode": "A1099",
            "apiErrorMsg": "系统异常",
            "apiResponseID": "161553468411dd",
            "apiResultData":""
        } 
        */
    }

    #endregion 冷运运输订单取消接口

    #region 冷运运输单号查询接口

    /// <summary>
    /// 冷运运输单号查询接口（冷运API-冷运运输类） 业务数据请求报文
    /// </summary>
    public class MsgDataRequestQueryQaybillNo
    {
        /// <summary>
        /// 运输订单号
        /// 是
        /// 字符(64)	
        /// </summary>
        public string erpOrder { set; get; }
        /// <summary>
        /// SF生成订单号
        /// 否
        /// 字符(64)
        /// </summary>
        public string sfOrderNo { set; get; }
        /*
        3.报文(JSON)示例
        请求示例

        {
            "erpOrder": "客户erp单号",
            "sfOrderNo": "SF生成订单号",
            "sourceCode": "SFTEST"
        }
        */
    }
    /// <summary>
    /// 冷运运输单号查询接口（冷运API-冷运运输类） 业务数据返回报文
    /// </summary>
    public class ApiResultDataResponseQueryQaybillNo
    {
        /// <summary>
        /// 接口状态 0 成功 其它异常
        /// 字符(32)
        /// </summary>
        public string code { set; get; }
        /// <summary>
        /// 返回信息展示
        /// 字符(500)
        /// </summary>
        public string message { set; get; }
        /// <summary>
        /// true 成功 false 异常
        /// boolean
        /// </summary>
        public bool success { set; get; }
        /// <summary>
        /// model
        /// 对象
        /// </summary>
        public QueryQaybillNoData data { set; get; }
        /*
        2.3公共返回参数
        参数名	类型	说明	是否必传
        apiResultCode	String(10)	API平台结果代码，详见附录8	Y
        apiErrorMsg	String(200)	API平台异常信息	N
        apiResponseID	String(40)	API响应唯一号UUID	Y
        apiResultData	String	业务处理详细结果（JSON对象字符串格式：JSON.toJSONString(ResponseModel)	N
        2.4业务返回参数<apiResultData>
        参数名	类型	说明
        code	字符(32)	接口状态 0 成功 其它异常
        message	字符(500)	返回信息展示
        data	对象	model
        success	boolean	true 成功 false 异常
        model对象

        参数名	类型	说明
        erpOrder	字符(64)	运输订单号
        sfOrderNo	字符(64)	SF生成订单号
        waybillNo	字符(64)	SF生成的运单号
        receiptWaybillNo	字符(64)	SF生成的签回单号
        childWaybillNos	数组	SF生成的子单号
        返回示例

        {
           "apiResultCode":"A1000",
           "apiErrorMsg": "",
           "apiResponseID": "161553468411dd",
           "apiResultData":{
                "code": "0",
                "data": {
                    "erpOrder": "客户erp单号",
                    "sfOrderNo": "SF生成订单号",
                    "waybillNo":"运单号",
                    "receiptWaybillNo":"签回单号",
                    "childWaybillNos":["子单号1","子单号2"]
                },
                "message": "success",
                "success": true
            }
        }
        {
	        "apiResultCode": "A1000",
            "apiErrorMsg": "",
            "apiResponseID": "161553468411dd",
            "apiResultData":{
                "code": "313",
                "data": “”,
                "message": "订单不存在",
                "success": false
            }
        } 
        */
    }

    #endregion 冷运运输单号查询接口

    #region 冷运运单路由信息查询

    /// <summary>
    /// 冷运运单路由信息查询（冷运API-冷运运输类） 业务数据请求报文
    /// </summary>
    public class MsgDataRequestQueryRoute
    {
        /// <summary>
        /// 客户erpOrder订单号
        /// 否
        /// 字符(64)	
        /// </summary>
        public string erpOrder { set; get; }
        /// <summary>
        /// SF生成系统订单号
        /// 否
        /// 字符(32)
        /// </summary>
        public string sfOrderNo { set; get; }
        /// <summary>
        /// 运单号
        /// 否
        /// 字符(32)
        /// </summary>
        public string waybillNo { set; get; }
        /*
        3.报文(JSON)示例
        请求示例

        运单号查询：

        {  
            "waybillNo":"978301989046",
            "sourceCode":"SFTEST"
        }
        系统订单号查询：

        {
            "sfOrderNo":"OB342092375611829242-100",
            "sourceCode":"SFTEST" 
        }
        客户 erpOrder 查询冷运订单

        {
            "erpOrder":"PO18101713423778",
            "sourceCode":"SFTEST"
        }
        */
    }
    /// <summary>
    /// 冷运运单路由信息查询（冷运API-冷运运输类） 业务数据返回报文
    /// </summary>
    public class ApiResultDataResponseQueryRoute
    {
        /// <summary>
        /// 接口状态 0 成功 其它异常
        /// 字符(32)
        /// </summary>
        public string code { set; get; }
        /// <summary>
        /// 返回信息展示
        /// 字符(500)
        /// </summary>
        public string message { set; get; }
        /// <summary>
        /// true 成功 false 异常
        /// boolean
        /// </summary>
        public bool success { set; get; }
        /// <summary>
        /// model
        /// 对象
        /// </summary>
        public List<QueryRouteData> data { set; get; }
        /*
        2.2公共返回参数
        参数名	类型	说明	是否必传
        apiResultCode	String(10)	API平台结果代码，详见附录8	Y
        apiErrorMsg	String(200)	API平台异常信息	N
        apiResponseID	String(40)	API响应唯一号UUID	Y
        apiResultData	String	业务处理详细结果（JSON对象字符串格式：JSON.toJSONString(ResponseModel)	N
        2.4业务返回参数<apiResultData>
        参数名	类型	说明
        code	字符(32)	接口状态 0 成功 其它异常
        message	字符(500)	返回信息展示
        data	List	List<model>
        success	boolean	true 成功 false 异常
        model对象 :

        参数名	类型	是否必填	说明
        routeId	字符	Y	流水号
        barScanTm	日期	Y	巴枪扫描时间
        outsideName	字符	Y	网点对外名称
        distName	字符	Y	所在城市
        opCode	字符	Y	操作类型
        owsRemark	字符	N	官网备注描述
        waybillNo	字符	Y	运单号
        sfOrderNo	字符	Y	SF生成系统订单号
        erpOrder	字符	Y	客户erpOrder订单号
        返回示例

        {
           "apiResultCode":"A1000",
           "apiErrorMsg": "",
           "apiResponseID": "161553468411dd",
           "apiResultData":{
                "code": "0",
                "data": [{ 
                    "barScanTm": "2016-07-07 22:00:00",
                    "opCode": "50",
                    "owsRemark": "",
                    "outsideName": "深圳宝安新唐工业园营业部",
                    "distName": "深圳市",
                    "waybillNo":"978301989046",
                    "sfOrderNo":"OB342092375611829242-100",
                    "erpOrder":"PO18101713423778"
                    },
                    {
                    "barScanTm": "2018-12-21 23:59:26",
                    "opCode": "30",
                    "owsRemark": "快件在【深圳清湖食品冷库中转配送部】已装车,准备发往 【深圳五和集散中心】",
                    "outsideName": "深圳清湖食品冷库中转配送部",
                    "distName": "深圳市",
                    "waybillNo":"978301989046",
                    "sfOrderNo":"OB342092375611829242-100",
                    "erpOrder":"PO18101713423778"
                    }],
                "message": "success",
                "success": true
            }
        } 
        */
    }

    #endregion 冷运运单路由信息查询

    #region 冷运订单信息查询接口

    /// <summary>
    /// 冷运订单信息查询接口（冷运API-冷运运输类） 业务数据请求报文
    /// </summary>
    public class MsgDataRequestQueryOrderInfo
    {
        /// <summary>
        /// 客户订单号
        /// 是
        /// 字符(64)	
        /// </summary>
        public string erpOrder { set; get; }
        /*
        3.报文(JSON)示例
        请求示例

        {
            "erpOrder": "客户erp单号",
            "sourceCode": "订单来源"
        }
        */
    }
    /// <summary>
    /// 冷运订单信息查询接口（冷运API-冷运运输类） 业务数据返回报文
    /// </summary>
    public class ApiResultDataResponseQueryOrderInfo
    {
        /// <summary>
        /// 接口状态 0 成功 其它异常
        /// 字符(32)
        /// </summary>
        public string code { set; get; }
        /// <summary>
        /// 返回信息展示
        /// 字符(500)
        /// </summary>
        public string message { set; get; }
        /// <summary>
        /// true 成功 false 异常
        /// boolean
        /// </summary>
        public bool success { set; get; }
        /// <summary>
        /// model
        /// 对象
        /// </summary>
        public QueryOrderInfoData data { set; get; }
        /*
        2.3公共返回参数
        参数名	类型	说明	是否必传
        apiResultCode	String(10)	API平台结果代码，详见附录8	Y
        apiErrorMsg	String(200)	API平台异常信息	N
        apiResponseID	String(40)	API响应唯一号UUID	Y
        apiResultData	String	业务处理详细结果（JSON对象字符串格式：JSON.toJSONString(ResponseModel)	N
        2.4业务返回参数<apiResultData>
        参数名	类型	说明
        code	字符(32)	接口状态 0 成功 其它异常
        message	字符(500)	返回信息展示
        data	对象	model
        success	boolean	true 成功 false 异常
        model

        名称	是否必填	类型	描述
        order	Object		
        sourceCode	N	字符(64)	订单来源
        orderNo	N	字符(64)	订单编号
        erpNo	N	字符(64)	ERP单号（客户系统订单号）
        monthlyAccount	N	字符(64)	月结卡号
        orderStatus	N	字符(64)	订单状态
        productCode	N	字符(64)	产品类型代码
        paymentTypeCode	N	字符(64)	付款方式代码
        createTime	N	字符(64)	下单时间
        confirmTime	N	字符(64)	收货确认时间
        signTime	N	字符(64)	签收时间
        temperatureLevelName	N	字符(64)	温层名称
        temperatureLevelCode	N	字符(64)	温层代码
        grossWeight	N	number	实际重量
        meterageWeight	N	number	计费重量
        waybillNo	N	字符(64)	主运单号
        waybillCount	N	integer	运单数量（子母件数量）
        returnWaybillNo	N	字符(64)	签回单号
        pickupType	N	字符(64)	提货方式
        distributionType	N	字符(64)	配送方式
        senderCompany	N	字符(64)	发货公司
        senderName	N	字符(64)	发货人姓名
        senderMobile	N	字符(64)	发货人手机号
        senderPhone	N	字符(64)	发货人座机号
        senderCountryName	N	字符(64)	发货国家名称
        senderProvinceName	N	字符(64)	客户发货地址（小哥收件地址）-省名称
        senderCityName	N	字符(64)	客户发货地址（小哥收件地址）-市名称
        senderAreaName	N	字符(64)	客户发货地址（小哥收件地址）-区名称
        senderDetailAddress	N	字符(64)	客户收货地址（小哥派件地址）-详细地址
        senderWebsiteName	N	字符(64)	客户发货地址（小哥收件地址）-网点名称
        receiverCompany	N	字符(64)	收货公司
        receiverName	N	字符(64)	收货人姓名
        receiverMobile	N	字符(64)	收货人手机号
        receiverCountryName	N	字符(64)	收货国家名称
        receiverProvinceName	N	字符(64)	客户收货地址（小哥派件地址）-省份名称
        receiverCityName	N	字符(64)	客户收货地址（小哥派件地址）-城市名称
        receiverDetailAddress	N	字符(64)	客户收货地址（小哥派件地址）-详细地址
        receiverAreaName	N	字符(64)	客户收货地址（小哥派件地址）-区名称
        receiverWebsiteName	N	字符(64)	收货网点名称
        delivererName	N	字符(64)	派件员姓名
        delivererMobile	N	字符(64)	派件员手机号
        driverName	N	字符(64)	司机姓名
        driverMobile	N	字符(64)	司机手机号
        carNo	N	字符(64)	车牌号
        carType	N	字符(64)	车型
        childWaybillList	Array		子单列表信息
        childWaybillNo	N	字符(64)	子单号
        orderGoodsList	Array		
        skuCode	Y	字符(64)	商品类别
        skuName	Y	字符(128)	商品名称
        quantity	integer	否	箱数,件
        grossWeight	Y	数字(18,3)	实重(kg)
        volume	Y	数字(18,6)	体积(m3)
        sku	N	字符(64)	商品编码SKU
        skuNumber	N	数字(11)	商品数量
        skuUnit	N	字符(32)	计量单位，类似个、只
        remark	N	字符(200)	备注
        orderServiceList	Array		
        monthlyAccount	N	字符(64)	月结卡号
        paymentTypeCode	N	字符(64)	付款方式编码
        serviceCode	N	字符(64)	增值服务编码
        feeAmount	N	number	费用金额
        extensionInfo	N	字符(64)	扩展信息
        orderReturn	Object		
        returnWaybillNo	N	字符(64)	签回单号
        senderCompany	N	字符(64)	发货公司
        senderName	N	字符(64)	发货人
        senderMobile	N	字符(64)	发货人手机号
        senderPhone	N	字符(64)	发货人座机号码
        senderCountryName	N	字符(64)	客户发货地址（小哥收件地址）-国家名称
        senderProvinceName	N	字符(64)	客户发货地址（小哥收件地址）-省名称
        senderCityName	N	字符(64)	客户发货地址（小哥收件地址）-市名称
        senderAreaName	N	字符(64)	客户发货地址（小哥收件地址）-区名称
        senderDetailAddress	N	字符(64)	客户发货地址（小哥收件地址）-详细地址
        receiverCompany	N	字符(64)	收货公司
        receiverName	N	字符(64)	收货人姓名
        receiverMobile	N	字符(64)	收货人手机号
        receiverPhone	N	字符(64)	收货人座机号码
        receiverCountryName	N	字符(64)	客户收货地址（小哥派件地址）-国家名称
        receiverProvinceName	N	字符(64)	客户收货地址（小哥派件地址）-省名称
        receiverCityName	N	字符(64)	客户收货地址（小哥派件地址）-市名称
        receiverAreaName	N	字符(64)	客户收货地址（小哥派件地址）-区名称
        receiverDetailAddress	N	字符(64)	客户收货地址（小哥派件地址）-详细地址
        返回示例

        成功示例

        {
           "apiResultCode":"A1000",
           "apiErrorMsg": "",
           "apiResponseID": "161553468411dd",
           "apiResultData":{
                "code": "0",
                "data": {
                    "order": {
                        "orderNo": "TP590256644432453632",
                        "waybillNo": "SF7001013145610",
                        "erpNo": "A01000009",
                        "productCode": "SE003001",
                        "productName": "冷运小票零担",
                        "senderCountryName": "中国",
                        "senderProvinceName": "广东省",
                        "senderCityName": "深圳市",
                        "senderAreaName": "福田区",
                        "senderDetailAddress": "万基商务大厦",
                        "senderWebsiteName": "深圳清湖食品中转场",
                        "senderName": "张三",
                        "senderMobile": "13125478964",
                        "paymentTypeCode": "PR_CASH",
                        "paymentType": "寄付现结",
                        "receiverCountryName": "中国",
                        "receiverProvinceName": "广东省",
                        "receiverCityName": "深圳市",
                        "receiverAreaName": "南山区",
                        "receiverDetailAddress": "彩讯科创中心",
                        "receiverWebsiteName": "深圳清湖食品配送部",
                        "receiverName": "李四",
                        "receiverMobile": "13587456987",
                        "pickupType": "上门提货",
                        "distributionType": "送货上门",
                        "isSpecialWarehousing": "N",
                        "sourceCode": "E-POST",
                        "orderStatus": "已审核",
                        "meterageWeight": 5000,
                        "orderRemark": "测的玩",
                        "createTime": "2021-05-13 16:30:17",
                        "temperatureLevelCode": "2",
                        "temperatureLevelName": "0至10",
                        "returnWaybillNo": "SF7001111675329",
                        "carType":  "4.2米-食品-冷运-冷藏",
                        "importedFlag": 1
                    },
                    "orderServiceList": [{
                            "serviceCode": "VA0021",
                            "serviceName": "保价",
                            "paymentTypeCode": "PR_CASH",
                            "paymentType": "寄付现结",
                            "extensionInfo": "{\"declareValue\":\"50000\"}"
                        },
                        {
                            "serviceCode": "VA0003",
                            "serviceName": "签单返还",
                            "paymentTypeCode": "PR_CASH",
                            "paymentType": "寄付现结",
                            "extensionInfo": "{\"retrunOrderRemark\":\"null\",\"returnOrderType\":\"签名\"}",
                        }
                    ],
                    "orderGoodsList": [{
                        "skuCode": "牛肉",
                        "skuName": "牛肉",
                        "quantity": 10,
                        "grossWeight": 50,
                        "volume": 15
                    }],
                    "orderReturn": {
                        "returnWaybillNo": "SF7001111675329",
                        "receiverName": "张三",
                        "receiverMobile": "13125478964",
                        "receiverCountryName": "中国",
                        "receiverProvinceName": "广东省",
                        "receiverCityName": "深圳市",
                        "receiverAreaName": "福田区",
                        "receiverDetailAddress": "万基商务大厦"
                    }
                },
                "message": "success",
                "success": true
            }
        } 
        */
    }

    #endregion 冷运订单信息查询接口

    #region 冷运运输订单接收接口

    /// <summary>
    /// 冷运运输订单接收接口（冷运API-冷运运输类） 业务数据请求报文
    /// </summary>
    public class MsgDataRequestCreateOrder
    {
        /// <summary>
        /// ERP单号(客户订单号)不可以重复，取消再下发，重新生成一个新的ERP单号
        /// 是
        /// 字符(32)	
        /// </summary>
        public string erpOrder { set; get; }
        /// <summary>
        /// 产品类型代码 详细请见附录4.3 传承运商产品编码（例如：SE0022）
        /// 是
        /// 字符(32)	
        /// </summary>
        public string productCode { set; get; }
        /// <summary>
        /// 月结账号(到付,寄付现结不填) SF提供
        /// 否
        /// 字符(32)	
        /// </summary>
        public string monthlyAccount { set; get; }
        /// <summary>
        /// 客户下单时间 格式为 yyyy-MM-dd HH:mm:ss
        /// 是
        /// 字符(20)	
        /// </summary>
        public string orderTime { set; get; }
        /// <summary>
        /// 付款方式 见附4.4 （例如：PR_ACCOUNT）大写半角
        /// 是
        /// 字符(32)	
        /// </summary>
        public string paymentTypeCode { set; get; }
        /// <summary>
        /// 备注
        /// 否
        /// 字符(200)	
        /// </summary>
        public string remark { set; get; }
        /// <summary>
        /// 发货公司
        /// 否
        /// 字符(32)	
        /// </summary>
        public string shipperName { set; get; }
        /// <summary>
        /// 发货联系人姓名
        /// 是
        /// 字符(32)	
        /// </summary>
        public string shipperContactName { set; get; }
        /// <summary>
        /// 发货联系人电话(手机) 支持分机号 只支持一个传值
        /// 是
        /// 字符(32)	
        /// </summary>
        public string shipperContactTel { set; get; }
        /// <summary>
        /// 提货省份名称 要求精准(广东省)
        /// 是
        /// 字符(32)	
        /// </summary>
        public string shipperProvinceName { set; get; }
        /// <summary>
        /// 提货城市名称 要求精准(深圳市)
        /// 是
        /// 字符(32)	
        /// </summary>
        public string shipperCityName { set; get; }
        /// <summary>
        /// 提货县区名称 要求精准(南山区)
        /// 是
        /// 字符(32)	
        /// </summary>
        public string shipperDistrictName { set; get; }
        /// <summary>
        /// 提货地点名称 不用包含省市区(海天一路软件产业基地)
        /// 是
        /// 字符(32)	
        /// </summary>
        public string shipperLocationName { set; get; }
        /// <summary>
        /// 提货开始时间(有提货增值服务时候填写) 格式为 yyyy-MM-dd HH:mm:ss字符串
        /// 否
        /// 字符(32)	
        /// </summary>
        public string requirePickupTimeFm { set; get; }
        /// <summary>
        /// 提货结束时间(有提货增值服务时候填写) 格式为 yyyy-MM-dd HH:mm:ss
        /// 否
        /// 字符(32)	
        /// </summary>
        public string requirePickupTimeTo { set; get; }
        /// <summary>
        /// 收货公司
        /// 否
        /// 字符(32)	
        /// </summary>
        public string consigneeName { set; get; }
        /// <summary>
        /// 客户代码
        /// 否
        /// 字符(32)	
        /// </summary>
        public string focusCode { set; get; }
        /// <summary>
        /// 收货联系人姓名
        /// 是
        /// 字符(32)	
        /// </summary>
        public string consigneeContactName { set; get; }
        /// <summary>
        /// 收货联系人电话 支持分机号 只支持一个传值
        /// 是
        /// 字符(32)	
        /// </summary>
        public string consigneeContactTel { set; get; }
        /// <summary>
        /// 送货省份名称 要求精准(广东省)
        /// 是
        /// 字符(32)	
        /// </summary>
        public string consigneeProvinceName { set; get; }
        /// <summary>
        /// 送达城市名称 要求精准(深圳市)
        /// 是
        /// 字符(32)	
        /// </summary>
        public string consigneeCityName { set; get; }
        /// <summary>
        /// 送达县区名称 要求精准(南山区)
        /// 是
        /// 字符(32)	
        /// </summary>
        public string consigneeDistrictName { set; get; }
        /// <summary>
        /// 送达地点名称 不用包含省市区(海天一路软件产业基地)
        /// 是
        /// 字符(32)	
        /// </summary>
        public string consigneeLocationName { set; get; }
        /// <summary>
        /// 送达开始时间 格式为 yyyy-MM-dd HH:mm:ss字符串
        /// 否
        /// 字符(32)	
        /// </summary>
        public string requireDeliveryTimeFm { set; get; }
        /// <summary>
        /// 送达结束时间 格式为 yyyy-MM-dd HH:mm:ss 字符串
        /// 否
        /// 字符(32)	
        /// </summary>
        public string requireDeliveryTimeTo { set; get; }
        /// <summary>
        /// 运输类型代码 默认LAND
        /// 是
        /// 字符(32)	
        /// </summary>
        public string transportType { set; get; } = "LAND";
        /// <summary>
        /// 温层代码 参照附录4.2 例如：温层代码 5
        /// 是
        /// 字符(32)	
        /// </summary>
        public string temperatureLevelCode { set; get; }
        /// <summary>
        /// 总重量
        /// 否
        /// 字符(32)	
        /// </summary>
        public string totalWeight { set; get; }
        /// <summary>
        /// 总体积
        /// 否
        /// 字符(32)	
        /// </summary>
        public string totalVolume { set; get; }
        /// <summary>
        /// 车辆类型(专车下单必填) 参照附录4.6
        /// 否
        /// 字符(32)	
        /// </summary>
        public string carType { set; get; }
        /// <summary>
        /// 商品明细
        /// 否
        /// 列表
        /// </summary>
        public List<OrderItemInfo> orderItems { set; get; }
        /// <summary>
        /// 增值服务明细
        /// 否
        /// 列表
        /// </summary>
        public List<OrderServiceInfo> orderServices { set; get; }
        /*
        3.报文(JSON)示例
        请求示例

        {
                "orderItems": [{
                    "temperatureLevelName": "0至10",
                    "remark": "这是备注",
                    "skuCode": "海鲜水产",
                    "skuName": "海鲜水产",
                    "quantity": "50",
                    "grossWeight": "12",
                    "volume": "12"
                }],
                "erpOrder": "1233",
                "monthlyAccount": "7550612539",
                "consigneeProvinceName": "广东省",
                "paymentTypeCode": "PR_ACCOUNT",
                "shipperLocationName": "宝安M17大厦A栋07",
                "shipperProvinceName": "广东省",
                "shipperContactName": "奥特曼",
                "shipperCityName": "深圳市",
                "consigneeLocationName": "广东省深圳市南山区深圳南山深南大道58号",
                "extenSystemOrderNo": "A00000002",
                "shipperName": "M17星制药",
                "consigneeCityName": "深圳市",
                "remark": "这是备注",
                "consigneeName": "顺丰物流公司",
                "consigneeContactName": "李生",
                "consigneeContactTel": "13924222888",
                "consigneeDistrictName": "宝安区",
                "shipperContactTel": "13700000002",
                "shipperDistrictName": "福田区",
                "productCode": "SE0030",
                "temperatureLevelCode": "2",
                "orderTime": "2018-01-01 12:12:12",
                "transportType": "LAND",
                "carType":  "4.2米-食品-冷运-冷藏",
                "orderServices": [{
                        "serviceValue": "签单返还",
                        "serviceCode": "VA0003",
                        "userDef1": "signature,stamp,identityCard,idNo,other",
                        "userDef2": "测试"
                    },
                    {
                        "serviceValue": "3000",
                        "serviceCode": "VA0021"
                    },
                    {
                        "serviceCode": "VA0075",
                        "serviceValue": "资源调节费"
                    }, {
                        "serviceCode": "VA003701",
                        "serviceValue": "装车服务"
                    }, {
                        "serviceCode": "VA003702",
                        "serviceValue": "卸车服务"
                    }, {
                        "serviceCode": "VA0058",
                        "serviceValue": "提货服务"
                    }, {
                        "serviceCode": "VA0059",
                        "serviceValue": "配送服务"
                    }
                ]
        }
        精简报文

        {
                "consigneeCityName": "蚌埠市",
                "consigneeContactName": "钱多多",
                "consigneeContactTel": "18400001111",
                "consigneeDistrictName": "淮上区",
                "consigneeLocationName": "安徽启航资产管理有限公司双墩路营业部",
                "consigneeProvinceName": "安徽省",
                "erpOrder": "ERP181323202891",
                "monthlyAccount": "7551990789",
                "orderItems": [{
                    "grossWeight": 13.0,
                    "quantity": 1.0,
                    "skuCode": "海鲜水产",
                    "skuName": "海鲜水产",
                    "volume": 33.0
                }],
                "orderServices": [{
                    "serviceCode": "VA0021",
                    "serviceValue": "333"
                }],
                "orderTime": "2018-06-12 12:12:12",
                "paymentTypeCode": "PR_ACCOUNT",
                "productCode": "SE0030",
                "remark": "测试订单",
                "shipperCityName": "深圳市",
                "shipperContactName": "李四",
                "shipperContactTel": "18699998888",
                "shipperDistrictName": "南山区",
                "shipperLocationName": "学府路软件产业基地",
                "shipperProvinceName": "广东省",
                "sourceCode": "公司简称+系统代码(防止重复)",
                "temperatureLevelCode": "3",
                "transportType": "LAND",
                "freightFee": 0
        }
        */
    }
    /// <summary>
    /// 冷运运输订单接收接口（冷运API-冷运运输类） 业务数据返回报文
    /// </summary>
    public class ApiResultDataResponseCreateOrder
    {
        /// <summary>
        /// 接口状态 0 成功 其它异常
        /// 字符(32)
        /// </summary>
        public string code { set; get; }
        /// <summary>
        /// 返回信息展示
        /// 字符(500)
        /// </summary>
        public string message { set; get; }
        /// <summary>
        /// true 成功 false 异常
        /// boolean
        /// </summary>
        public bool success { set; get; }
        /// <summary>
        /// model
        /// 对象
        /// </summary>
        public CreateOrderData data { set; get; }
        /*
        2.3公共返回参数
        参数名	类型	说明	是否必传
        apiResultCode	String(10)	API平台结果代码	Y
        apiErrorMsg	String(200)	API平台异常信息	N
        apiResponseID	String(40)	API响应唯一号UUID	Y
        apiResultData	String	业务处理详细结果（JSON对象字符串格式：JSON.toJSONString(ResponseModel)	N
        2.4业务返回参数<apiResultData>
        参数名	类型	说明
        code	字符(32)	接口状态 0 成功 其它异常
        message	字符(500)	返回信息展示
        data	对象	model
        success	boolean	true 成功 false 异常
        model对象

        参数名	类型	说明
        sfOrderNo	字符(64)	SF生成订单号 (失败不产生)
        erpOrder	字符(64)	外部系统订单号(客户方系统订单号)
        返回示例

        成功示例

        {
           "apiResultCode":"A1000",
           "apiErrorMsg": "",
           "apiResponseID": "161553468411dd",
           "apiResultData": {
            "code": "0",
            "data": {
                "erpOrder": "ERP00000001",
                "sfOrderNo": "SF000000000000000001"
            },
            "message": "success",
            "success": true
            } 
        }
        错误示例

        {
           "apiResultCode": "A1099",
            "apiErrorMsg": "系统异常",
            "apiResponseID": "161553468411dd",
            "apiResultData":""
        }	
        */
    }

    #endregion 冷运运输订单接收接口

    #endregion 冷运运输类

    #endregion 冷运API

    public class FeeDetail
    {
        /// <summary>
        /// 增值服务代码
        /// 是
        /// 字符(32)	
        /// </summary>
        public string serviceCode { set; get; }
        /// <summary>
        /// 费用名称
        /// 是
        /// 字符(32)	
        /// </summary>
        public string feeName { set; get; }
        /// <summary>
        /// 费用确认时间 格式2021-05-14 14:44:18
        /// 是
        /// 时间		
        /// </summary>
        public string confirmTime { set; get; }
        /// <summary>
        /// 费用明细金额（单位元）
        /// 是
        /// 金额		
        /// </summary>
        public decimal amount { set; get; }
    }

    public class OrderInfo
    {
        /// <summary>
        /// 订单来源
        /// 否
        /// 字符(64)
        /// </summary>
        public string sourceCode { set; get; }
        /// <summary>
        /// 订单编号
        /// 否
        /// 字符(64)
        /// </summary>
        public string orderNo { set; get; }
        /// <summary>
        /// ERP单号（客户系统订单号）
        /// 否
        /// 字符(64)
        /// </summary>
        public string erpNo { set; get; }
        /// <summary>
        /// 月结卡号
        /// 否
        /// 字符(64)
        /// </summary>
        public string monthlyAccount { set; get; }
        /// <summary>
        /// 订单状态
        /// 否
        /// 字符(64)
        /// </summary>
        public string orderStatus { set; get; }
        /// <summary>
        /// 产品类型代码
        /// 否
        /// 字符(64)
        /// </summary>
        public string productCode { set; get; }
        /// <summary>
        /// 付款方式代码
        /// 否
        /// 字符(64)
        /// </summary>
        public string paymentTypeCode { set; get; }
        /// <summary>
        /// 下单时间
        /// 否
        /// 字符(64)
        /// </summary>
        public string createTime { set; get; }
        /// <summary>
        /// 收货确认时间
        /// 否
        /// 字符(64)
        /// </summary>
        public string confirmTime { set; get; }
        /// <summary>
        /// 签收时间
        /// 否
        /// 字符(64)
        /// </summary>
        public string signTime { set; get; }
        /// <summary>
        /// 温层名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string temperatureLevelName { set; get; }
        /// <summary>
        /// 温层代码
        /// 否
        /// 字符(64)
        /// </summary>
        public string temperatureLevelCode { set; get; }
        /// <summary>
        /// 实际总重量
        /// 否
        /// number
        /// </summary>
        public double grossWeight { set; get; }
        /// <summary>
        /// 计费总重量
        /// 否
        /// number
        /// </summary>
        public double meterageWeight { set; get; }
        /// <summary>
        /// 主运单号
        /// 否
        /// 字符(64)
        /// </summary>
        public string waybillNo { set; get; }
        /// <summary>
        /// 运单数量（子母件数量）
        /// 否
        /// integer
        /// </summary>
        public int waybillCount { set; get; }
        /// <summary>
        /// 签回单号
        /// 否
        /// 字符(64)
        /// </summary>
        public string returnWaybillNo { set; get; }
        /// <summary>
        /// 提货方式
        /// 否
        /// 字符(64)
        /// </summary>
        public string pickupType { set; get; }
        /// <summary>
        /// 配送方式
        /// 否
        /// 字符(64)
        /// </summary>
        public string distributionType { set; get; }
        /// <summary>
        /// 发货公司
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderCompany { set; get; }
        /// <summary>
        /// 发货人姓名
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderName { set; get; }
        /// <summary>
        /// 发货人手机号
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderMobile { set; get; }
        /// <summary>
        /// 发货人座机号
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderPhone { set; get; }
        /// <summary>
        /// 发货国家名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderCountryName { set; get; }
        /// <summary>
        /// 客户发货地址（小哥收件地址）-省名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderProvinceName { set; get; }
        /// <summary>
        /// 客户发货地址（小哥收件地址）-市名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderCityName { set; get; }
        /// <summary>
        /// 客户发货地址（小哥收件地址）-区名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderAreaName { set; get; }
        /// <summary>
        /// 客户发货地址（小哥派件地址）-详细地址
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderDetailAddress { set; get; }
        /// <summary>
        /// 客户发货地址（小哥收件地址）-网点名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderWebsiteName { set; get; }
        /// <summary>
        /// 收货公司
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverCompany { set; get; }
        /// <summary>
        /// 收货人姓名
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverName { set; get; }
        /// <summary>
        /// 收货人手机号
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverMobile { set; get; }
        /// <summary>
        /// 收货国家名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverCountryName { set; get; }
        /// <summary>
        /// 客户收货地址（小哥派件地址）-省份名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverProvinceName { set; get; }
        /// <summary>
        /// 客户收货地址（小哥派件地址）-城市名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverCityName { set; get; }
        /// <summary>
        /// 客户收货地址（小哥派件地址）-详细地址
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverDetailAddress { set; get; }
        /// <summary>
        /// 客户收货地址（小哥派件地址）-区名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverAreaName { set; get; }
        /// <summary>
        /// 收货网点名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverWebsiteName { set; get; }
        /// <summary>
        /// 派件员姓名
        /// 否
        /// 字符(64)
        /// </summary>
        public string delivererName { set; get; }
        /// <summary>
        /// 派件员手机号
        /// 否
        /// 字符(64)
        /// </summary>
        public string delivererMobile { set; get; }
        /// <summary>
        /// 司机姓名
        /// 否
        /// 字符(64)
        /// </summary>
        public string driverName { set; get; }
        /// <summary>
        /// 司机手机
        /// 否
        /// 字符(64)
        /// </summary>
        public string driverMobile { set; get; }
        /// <summary>
        /// 车牌号
        /// 否
        /// 字符(64)
        /// </summary>
        public string carNo { set; get; }
        /// <summary>
        /// 车型
        /// 否
        /// 字符(64)
        /// </summary>
        public string carType { set; get; }
    }

    public class ChildWaybill
    {
        /// <summary>
        /// 子单号
        /// 否
        /// 字符(64)
        /// </summary>
        public string childWaybillNo { set; get; }
    }

    public class OrderService
    {
        /// <summary>
        /// 月结卡号
        /// 否
        /// 字符(64)
        /// </summary>
        public string monthlyAccount { set; get; }
        /// <summary>
        /// 付款方式编码
        /// 否
        /// 字符(64)
        /// </summary>
        public string paymentTypeCode { set; get; }
        /// <summary>
        /// 增值服务编码
        /// 否
        /// 字符(64)
        /// </summary>
        public string serviceCode { set; get; }
        /// <summary>
        /// 费用金额
        /// 否
        /// number)
        /// </summary>
        public decimal feeAmount { set; get; }
        /// <summary>
        /// 扩展信息 
        /// 否
        /// 字符(64)
        /// </summary>
        public string extensionInfo { set; get; }
    }

    public class OrderGoods
    {
        /// <summary>
        /// 商品类别
        /// 是
        /// 字符(64)
        /// </summary>
        public string skuCode { set; get; }
        /// <summary>
        /// 商品名称
        /// 是
        /// 字符(128)
        /// </summary>
        public string skuName { set; get; }
        /// <summary>
        /// 箱数,件
        /// 否
        /// integer
        /// </summary>
        public int quantity { set; get; }
        /// <summary>
        /// 实重(kg)
        /// 是
        /// 数字(18,3)
        /// </summary>
        public double grossWeight { set; get; }
        /// <summary>
        /// 体积(m3)
        /// 是
        /// 数字(18,6)
        /// </summary>
        public double volume { set; get; }
        /// <summary>
        /// 商品编码SKU
        /// 否
        /// 字符(64)
        /// </summary>
        public string sku { set; get; }
        /// <summary>
        /// 商品数量
        /// 否
        /// 数字(11)
        /// </summary>
        public int skuNumber { set; get; }
        /// <summary>
        /// 计量单位，类似个、只
        /// 否
        /// 字符(32)
        /// </summary>
        public string skuUnit { set; get; }
        /// <summary>
        /// 备注 
        /// 否
        /// 字符(200)
        /// </summary>
        public string remark { set; get; }
    }

    public class OrderReturn
    {
        /// <summary>
        /// 签回单号
        /// 否
        /// 字符(64)
        /// </summary>
        public string returnWaybillNo { set; get; }
        /// <summary>
        /// 发货公司
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderCompany { set; get; }
        /// <summary>
        /// 发货人
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderName { set; get; }
        /// <summary>
        /// 发货人手机号
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderMobile { set; get; }
        /// <summary>
        /// 发货人座机号码
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderPhone { set; get; }
        /// <summary>
        /// 客户发货地址（小哥收件地址）-国家名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderCountryName { set; get; }
        /// <summary>
        /// 客户发货地址（小哥收件地址）-省名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderProvinceName { set; get; }
        /// <summary>
        /// 客户发货地址（小哥收件地址）-市名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderCityName { set; get; }
        /// <summary>
        /// 客户发货地址（小哥收件地址）-区名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderAreaName { set; get; }
        /// <summary>
        /// 客户发货地址（小哥收件地址）-详细地址
        /// 否
        /// 字符(64)
        /// </summary>
        public string senderDetailAddress { set; get; }
        /// <summary>
        /// 收货公司
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverCompany { set; get; }
        /// <summary>
        /// 收货人姓名
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverName { set; get; }
        /// <summary>
        /// 收货人手机号
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverMobile { set; get; }
        /// <summary>
        /// 收货人座机号码
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverPhone { set; get; }
        /// <summary>
        /// 客户收货地址（小哥派件地址）-国家名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverCountryName { set; get; }
        /// <summary>
        /// 客户收货地址（小哥派件地址）-省名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverProvinceName { set; get; }
        /// <summary>
        /// 客户收货地址（小哥派件地址）-市名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverCityName { set; get; }
        /// <summary>
        /// 客户收货地址（小哥派件地址）-区名称
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverAreaName { set; get; }
        /// <summary>
        /// 客户收货地址（小哥派件地址）-详细地址 
        /// 否
        /// 字符(64)
        /// </summary>
        public string receiverDetailAddress { set; get; }
    }

    /// <summary>
    /// 
    /// </summary>
    public class CheckTransportFlowData
    {
        /// <summary>
        /// 寄件服务网点信息
        /// </summary>
        public SenderInfo senderInfo { set; get; }
        /// <summary>
        /// 与senderInfo字段属性一致
        /// </summary>
        public ReceiverInfo receiverInfo { set; get; }
        /// <summary>
        /// 可选的温层信息
        /// </summary>
        public List<TemperatureLevel> temperatureLevel { set; get; }
    }
    /// <summary>
    /// 寄件服务网点信息
    /// </summary>
    public class SenderInfo
    {
        /// <summary>
        /// 服务类型
        /// 字符	
        /// </summary>
        public string serviceType { set; get; }
        /// <summary>
        /// 网点信息
        /// </summary>
        public NetPoint netpoint { set; get; }
    }
    /// <summary>
    /// 网点信息
    /// </summary>
    public class NetPoint
    {
        /// <summary>
        /// 网点名称
        /// 字符	
        /// </summary>
        public string mdneUnitName { set; get; }
        /// <summary>
        /// 网点地址
        /// 字符	
        /// </summary>
        public string mdneDetailedAddress { set; get; }
        /// <summary>
        /// 联系电话
        /// 字符	
        /// </summary>
        public string mdneContactPhone { set; get; }
        /// <summary>
        /// 对外营业时间开始
        /// 字符	
        /// </summary>
        public string mdneOuterBusinessStarttime { set; get; }
        /// <summary>
        /// 对外营业时间结束
        /// 字符	
        /// </summary>
        public string mdneOuterBusinessEndtime { set; get; }
    }
    public class ReceiverInfo
    {
        /// <summary>
        /// 服务类型
        /// 字符	
        /// </summary>
        public string serviceType { set; get; }
        /// <summary>
        /// 网点信息
        /// </summary>
        public NetPoint netpoint { set; get; }
    }
    /// <summary>
    /// 温层信息
    /// </summary>
    public class TemperatureLevel
    {
        /// <summary>
        /// 温控代码
        /// 字符	
        /// </summary>
        public string ebcdCode { set; get; }
        /// <summary>
        /// 温控名称
        /// 字符	
        /// </summary>
        public string ebcdNameCn { set; get; }
        /// <summary>
        /// 序号
        /// 字符	
        /// </summary>
        public string ebcdSquenceNo { set; get; }
        /// <summary>
        /// 温控类型
        /// 字符	
        /// </summary>
        public string ebcdTemperatureType { set; get; }
        /// <summary>
        /// 产品代码  
        /// 字符	
        /// </summary>
        public string ebcdProductCode { set; get; }
    }

    public class OrderItem
    {
        /// <summary>
        /// 商品名称  
        /// 否
        /// 字符(128)	
        /// </summary>
        public string skuName { set; get; }
        /// <summary>
        /// 毛重(kg)
        /// 是
        /// 数字(18,3)	
        /// </summary>
        public double grossWeight { set; get; }
        /// <summary>
        /// 体积(m3) 立方米 可以只填体积,不填长宽高 
        /// 是
        /// 数字(18,6)
        /// </summary>
        public double volume { set; get; }
    }
    public class OrderServiceInfo
    {
        /// <summary>
        /// 增值服务编码 参考附录1说明
        /// 是
        /// 字符(32)	
        /// </summary>
        public string serviceCode { set; get; }
        /// <summary>
        /// 增值服务内容 如有金额的增值服务(保价,代收货款)
        /// 否
        /// 字符(100)	
        /// </summary>
        public string serviceValue { set; get; }
        /// <summary>
        /// 预留字段(用于扩展,更多增值服务更多属性)
        /// 否
        /// 字符(32)	
        /// </summary>
        public string userDef1 { set; get; }
        /// <summary>
        /// 预留字段
        /// 否
        /// 字符(32)	
        /// </summary>
        public string userDef2 { set; get; }
        /// <summary>
        /// 预留字段
        /// 否
        /// 字符(32)	
        /// </summary>
        public string userDef3 { set; get; }
        /// <summary>
        /// 预留字段
        /// 否
        /// 字符(32)	
        /// </summary>
        public string userDef4 { set; get; }
        /// <summary>
        /// 预留字段
        /// 否
        /// 字符(32)	
        /// </summary>
        public string userDef5 { set; get; }
        /// <summary>
        /// 预留字段
        /// 否
        /// 字符(32)	
        /// </summary>
        public string userDef6 { set; get; }
        /// <summary>
        /// 预留字段
        /// 否
        /// 字符(32)	
        /// </summary>
        public string userDef7 { set; get; }
        /// <summary>
        /// 预留字段
        /// 否
        /// 字符(32)	
        /// </summary>
        public string userDef8 { set; get; }
    }

    public class OrderItemInfo
    {
        /// <summary>
        /// 商品类别，参照附录4.5或自定义类别
        /// 是
        /// 字符(64)	
        /// </summary>
        public string skuCode { set; get; }
        /// <summary>
        /// 商品名称  
        /// 是
        /// 字符(128)	
        /// </summary>
        public string skuName { set; get; }
        /// <summary>
        /// 长(cm)
        /// 否
        /// 数字(18,2)	
        /// </summary>
        public double length { set; get; }
        /// <summary>
        /// 宽(cm)
        /// 否
        /// 数字(18,2)	
        /// </summary>
        public double width { set; get; }
        /// <summary>
        /// 高(cm)
        /// 否
        /// 数字(18,2)	
        /// </summary>
        public double height { set; get; }
        /// <summary>
        /// 件数，数量
        /// 是
        /// 数字(11)
        /// </summary>
        public int quantity { set; get; }
        /// <summary>
        /// 毛重(kg)
        /// 是
        /// 数字(18,3)	
        /// </summary>
        public double grossWeight { set; get; }
        /// <summary>
        /// 净重(kg)
        /// 是
        /// 数字(18,3)	
        /// </summary>
        public double netHeight { set; get; }
        /// <summary>
        /// 体积(m3) 立方米 可以只填体积,不填长宽高 
        /// 是
        /// 数字(18,6)
        /// </summary>
        public double volume { set; get; }
        /// <summary>
        /// 是否进口(1-不进口，2-进口)
        /// 否
        /// 数字(2)
        /// </summary>
        public int importedFlag { set; get; }
        /// <summary>
        /// 供应商名称
        /// 否
        /// 字符(128)
        /// </summary>
        public string carrierName { set; get; }
        /// <summary>
        /// 商品编码SKU
        /// 否
        /// 字符(64)
        /// </summary>
        public string sku { set; get; }
        /// <summary>
        /// 商品数量
        /// 否
        /// 数字(11)
        /// </summary>
        public int skuNumber { set; get; }
        /// <summary>
        /// 数量计量单位，类似kg
        /// 否
        /// 字符(32)
        /// </summary>
        public string skuUnit { set; get; }
        /// <summary>
        /// 商品单价(元) 
        /// 否
        /// 数字(18,2)
        /// </summary>
        public double price { set; get; }
    }

    public class CalcTransportFeeData
    {
        /// <summary>
        /// 产品类型 SE0030
        /// </summary>
        public SeInfo SE0030 { set; get; }
        /// <summary>
        /// 产品类型 SE003001
        /// </summary>
        public SeInfo SE003001 { set; get; }
        /*
        2.4业务返回参数<apiResultData>
        参数名	类型	说明
        code	字符(32)	接口状态 0 成功 其它异常
        message	字符(500)	
        data	Map<String,Model>	model
        success	boolean	true 成功 false 异常
        Map<String,Model>集合:

        参数名	类型	说明
        产品类型（SE0030或SE003001）	字符(32)	产品编码
        结果		
        参数名	类型	说明
        code	字符(32)	
        message	字符(500)	接口状态 200 成功 其它异常
        model	对象	详细请见model
        参数名	类型	说明
        feeName	字符(64)	费用名称
        serviceCode	字符(32)	增值服务代码
        totalAmount	数字	金额
        返回示例

        成功示例

        {
          "apiResultCode": "A1000",
          "apiErrorMsg": "",
          "apiResponseID": "161553468411dd",
          "apiResultData":{
            "code": "0",
            "data": {
                "SE003001": {
                    "code": "200",
                    "message": "success",
                    "model": [{
                        "totalAmount": 5.00,
                        "feeName": "保费",
                        "serviceCode": "VA0021"
                    }, {
                        "totalAmount": 20.00,
                        "feeName": "动检证",
                        "serviceCode": "VA0035"
                    }, {
                        "totalAmount": 100.00,
                        "feeName": "提货服务",
                        "serviceCode": "VA0058"
                    }, {
                        "totalAmount": 1984.00,
                        "feeName": "配送服务",
                        "serviceCode": "VA0059"
                    }
                             ]
                },
                "SE0030": {
                    "code": "200",
                    "message": "success",
                    "model": [{
                        "totalAmount": 5.00,
                        "feeName": "保费",
                        "serviceCode": "VA0021"
                    }, {
                        "totalAmount": 20.00,
                        "feeName": "动检证",
                        "serviceCode": "VA0035"
                    }, {
                        "totalAmount": 100.00,
                        "feeName": "提货服务",
                        "serviceCode": "VA0058"
                    }, {
                        "totalAmount": 1984.00,
                        "feeName": "配送服务",
                        "serviceCode": "VA0059"
                    }
                             ]
                }
            },
            "message": "success",
            "success": true
            } 
    
        } 
        */
    }
    public class SeInfo
    {
        /// <summary>
        /// 接口状态 200 成功 其它异常
        /// 字符(32)
        /// </summary>
        public string code { set; get; }
        /// <summary>
        /// 返回信息展示
        /// 字符(500)
        /// </summary>
        public string message { set; get; }
        /// <summary>
        /// 详细请见model
        /// 对象
        /// </summary>
        public List<ModelInfo> model { set; get; }
    }
    public class ModelInfo
    {
        /// <summary>
        /// 费用名称
        /// 字符(64)
        /// </summary>
        public string feeName { set; get; }
        /// <summary>
        /// 增值服务代码
        /// 字符(64)
        /// </summary>
        public string serviceCode { set; get; }
        /// <summary>
        /// 金额 
        /// 数字	
        /// </summary>
        public double totalAmount { set; get; }
    }

    public class EstimateDeliverTmData
    {
        /// <summary>
        /// 产品代码
        /// 字符
        /// </summary>
        public string productCode { set; get; }
        /// <summary>
        /// 接口状态 200 成功 其它异常
        /// 字符(32)
        /// </summary>
        public string code { set; get; }
        /// <summary>
        /// 错误信息展示
        /// 字符(500)
        /// </summary>
        public string message { set; get; }
        /// <summary>
        /// 错误信息展示
        /// 字符(500)
        /// </summary>
        public string effectiveInfo { set; get; }
    }
    public class EffectiveInfo
    {
        /// <summary>
        /// 预计到达时间
        /// 字符
        /// </summary>
        public string arriveTime { set; get; }
        /// <summary>
        /// 加时备注
        /// 字符
        /// </summary>
        public string delayRemark { set; get; }
        /// <summary>
        /// 班次描述
        /// 字符
        /// </summary>
        public string planDescription { set; get; }
        /// <summary>
        /// 加时天数
        /// 字符
        /// </summary>
        public string delayDay { set; get; }
        /// <summary>
        /// 承诺天数
        /// 字符
        /// </summary>
        public string effectiveDay { set; get; }
    }

    public class QueryQaybillNoData
    {
        /// <summary>
        /// 运输订单号
        /// 字符(64)
        /// </summary>
        public string erpOrder { set; get; }
        /// <summary>
        /// SF生成订单号
        /// 字符(64)
        /// </summary>
        public string sfOrderNo { set; get; }
        /// <summary>
        /// SF生成的运单号
        /// 字符(64)
        /// </summary>
        public string waybillNo { set; get; }
        /// <summary>
        /// SF生成的签回单号
        /// 字符(64)
        /// </summary>
        public string receiptWaybillNo { set; get; }
        /// <summary>
        /// SF生成的子单号
        /// 数组
        /// </summary>
        public string[] childWaybillNos { set; get; }
    }

    public class QueryRouteData
    {
        /// <summary>
        /// 流水号
        /// 是
        /// 字符
        /// </summary>
        public string routeId { set; get; }
        /// <summary>
        /// 巴枪扫描时间
        /// 是
        /// 日期
        /// </summary>
        public DateTime barScanTm { set; get; }
        /// <summary>
        /// 网点对外名称
        /// 是
        /// 字符
        /// </summary>
        public string outsideName { set; get; }
        /// <summary>
        /// 所在城市
        /// 是
        /// 字符
        /// </summary>
        public string distName { set; get; }
        /// <summary>
        /// 操作类型
        /// 是
        /// 字符
        /// </summary>
        public string opCode { set; get; }
        /// <summary>
        /// 官网备注描述
        /// 否
        /// 字符
        /// </summary>
        public string owsRemark { set; get; }
        /// <summary>
        /// 运单号
        /// 是
        /// 字符
        /// </summary>
        public string waybillNo { set; get; }
        /// <summary>
        /// SF生成系统订单号
        /// 是
        /// 字符
        /// </summary>
        public string sfOrderNo { set; get; }
        /// <summary>
        /// 客户erpOrder订单号 
        /// 是
        /// 字符
        /// </summary>
        public string erpOrder { set; get; }
    }

    public class QueryOrderInfoData
    {
        /// <summary>
        /// 
        /// </summary>
        public OrderInfo order { set; get; }
        /// <summary>
        /// 子单列表信息
        /// Array
        /// </summary>
        public List<ChildWaybill> childWaybillList { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public List<OrderService> orderServiceList { set; get; }
        /// <summary>
        /// 新的
        /// </summary>
        public List<OrderGoods> orderGoodsList { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public OrderReturn orderReturn { set; get; }
    }

    public class CreateOrderData
    { 
        /// <summary>
        /// SF生成订单号 (失败不产生)
        /// 字符(64)
        /// </summary>
        public string sfOrderNo { set; get; }
        /// <summary>
        /// 外部系统订单号(客户方系统订单号)
        /// 字符(64)
        /// </summary>
        public string erpOrder { set; get; }
    }
}
